package com.stu.bean;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class Orders {
    private Integer oid;

    private String oimg;

    private String oname;

    private Integer onum;

    private Float uprice;

    private Float tprice;

    private Integer userid;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date odate;

    private String paystate;

    public Integer getOid() {
        return oid;
    }

    public void setOid(Integer oid) {
        this.oid = oid;
    }

    public String getOimg() {
        return oimg;
    }

    public void setOimg(String oimg) {
        this.oimg = oimg;
    }

    public String getOname() {
        return oname;
    }

    public void setOname(String oname) {
        this.oname = oname;
    }

    public Integer getOnum() {
        return onum;
    }

    public void setOnum(Integer onum) {
        this.onum = onum;
    }

    public Float getUprice() {
        return uprice;
    }

    public void setUprice(Float uprice) {
        this.uprice = uprice;
    }

    public Float getTprice() {
        return tprice;
    }

    public void setTprice(Float tprice) {
        this.tprice = tprice;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Date getOdate() {
        return odate;
    }

    public void setOdate(Date odate) {
        this.odate = odate;
    }

    public String getPaystate() {
        return paystate;
    }

    public void setPaystate(String paystate) {
        this.paystate = paystate;
    }
}